Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Daniel Rodríguez Rivero
    @danielo515
    Anyone with experience using mesh on rancher ? I'm having trouble communicating each service
    Rafael Quines
    @rafaelquines
    Hello. I'm studing microservices pattern, and I liked Seneca toolkit. I'd like to know if the project is alive, if there is some mainteners, and if can I use in my production projects.
    Daniel Rodríguez Rivero
    @danielo515
    Hello @rafaelquines , I'm trying to use seneca at my work and I can't recommend it to anyone
    The framework is amazing and when it works you get super productive
    I mean, the boilerplate to make it work is minimum, it's like having your own AWS
    However, when things go wrong there is little to no support at any place
    I'm having problems for something that should be quite easy, deploying a working mesh to a different environment: rancher
    I asked for help on this group, on the seneca-mesh repository , on stack overflow, I read old issues and I didn't get any help on neither of those
    Also I had to read the source code of both seneca-mesh and the underlying library sneeze just to know which options can I pass to it, because the documentation is half baked
    You just have to check the issues of the main repo and all the main plugins to see that there are many many old issues about some very big problems that are not fixed and there isn't a workaround for them
    Rafael Quines
    @rafaelquines
    @danielo515 thanks by your answer. I noticed it for some plugins. It was posted three, four years ago. Because it, I send my question here. About microservices, Do you suggest something? The seneca idea is great, but this "support less" is so much bad.
    Daniel Rodríguez Rivero
    @danielo515
    Well, I've been investigating for over a month
    And there is nothing as flexible and feature rich as seneca
    All the alternatives seems to be a subset of what seneca provides
    Rafael Quines
    @rafaelquines
    About molecular? Did you see it?
    Daniel Rodríguez Rivero
    @danielo515
    Yes
    I checked moleculer, hemera, hydra and seneca
    seneca contains the other three
    For example, hemera has the same pattern matching idea
    Cool
    But it only supports nats as transport
    which is fine if you want that transport, but very limited if you ever need anything else
    moleculer is exactly the opposite
    Rafael Quines
    @rafaelquines
    today, I have a totally monolithic application. And I got time to remake it. So, I'm searching by some frameworks to separate layers and can scalete it
    Daniel Rodríguez Rivero
    @danielo515
    It offers a plenty of transport mechanims, but leave apart the main hot thing from seneca: pattern matching
    Rafael Quines
    @rafaelquines
    Yes, I understand. pattern matching helps so much
    Daniel Rodríguez Rivero
    @danielo515
    Yes, exactly
    And I really think that the creator of seneca is a really smart guy who really understands micro-services before the term even existed
    Because the hability to grow by just throwing more stuff to the pile is awesome
    Rafael Quines
    @rafaelquines
    Thank you so much @danielo515
    Daniel Rodríguez Rivero
    @danielo515
    You're welcome. I wish I could give you other feedback
    Tobias Gurtzick
    @wzrdtales
    @danielo515 The holy bit of configuration for rancher/docker in genral is this https://github.com/wzrdtales/seneca-generators-service/blob/master/generators/app/templates/index.js#L65-L67
    That allows it to bind correctly
    and of course you need to setup a discovery method, which simply should be just dns https://github.com/wzrdtales/seneca-generators-service/blob/master/generators/app/templates/index.js#L15-L40
    which you point to the name of your base node services
    Tobias Gurtzick
    @wzrdtales

    And yeah the support is low. I talked to rodger a good month ago and he told me that they want to start work again, but seems like it did not yet happen. But this is open source, if you want something to be better, then help making it better. You give back to the community for all the things you gain, which is just fair.

    And sometimes that means figuring out stuff on your own. Which of course means you need a deep understanding and knowledge about all the tools you use and about computers in general and the rest should come at ease :)

    Daniel Rodríguez Rivero
    @danielo515
    Hello @wzrdtales , thanks for chiming in. I've been studying your templates code in deep, and in fact I have implemented the two things you have proposed
    The best I got so far is to set all services as base
    That way it works
    Of course I use to give back to the community what it gives to me
    And of course I make an effort understanding the technologies I use and the code that supprots them
    But I can not get as deep as I want on all of them
    And I'm just starting with seneca
    Daniel Rodríguez Rivero
    @danielo515
    Can anyone tell me how to totally deactivate logging or at least deactivate it for large payloads ?
    Martin Mueller
    @matiger
    hey guys, I want to use the seneca-json-store and the seneca-postgre-store at the same time. Is that possible to differentiate according to the pin or something?
    Khánh Trần
    @rualatngua
    hi @danielo515 if I understood your problem, let write the new one logger like this
    https://github.com/rjrodger/seneca-demo-logger/blob/master/demo-logger.js#L24
    Daniel Rodríguez Rivero
    @danielo515
    Hello @rualatngua , I ended using seneca-pino-adapter with pino-noir to select wich parts I want removed on the logs
    Martin Mueller
    @matiger
    Hey everybody. Is it possible to send an entity via a message and let the target-service persist it? Or do I have to write a handler which takes the data, creates an entity with it, and then persist it?
    Daniel Rodríguez Rivero
    @danielo515

    Is this supposed to work ?

        seneca.ready (() =>
        {
            const app = Connect ();
            app.use (Connect_query ());
            app.use (Body_parser.json ());
            app.use (seneca.export ('web'));
    
            app.listen (3000);
            // seneca.use ('data-editor');
            // seneca.use ('admin', { server: app, local: true });
        });

    because it is not working for me at all

    Khánh Trần
    @rualatngua
    @danielo515 data-editor just too old