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
    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
    Daniel Rodríguez Rivero
    @danielo515
    Ok, but what about seneca web ? it is failing too, seneca.export('web') returns undefined
    Kevin Madhu
    @kevin-madhu
    Guys, I have a doubt
    I need a service written in some other language to be able to be brought into the seneca pool.
    Is it possible? If yes, how?
    Tobias Gurtzick
    @wzrdtales
    @kevin-madhu just write a middleware service to communicate with your service written in the other language, that way you can avoid teaching your new service understanding senecas payload.
    Kevin Madhu
    @kevin-madhu
    @wzrdtales Thanks :)
    Ohm Trivedi
    @ohmtrivedi
    Hi, I am a newbie in Seneca and also not much experienced with Javascript. Can someone please help me with this issue I am facing? senecajs/seneca#706
    Daniel Rodríguez Rivero
    @danielo515
    Hello, Does anybody know if there is some kind of ttl for keeping routes on the registry ?
    I have some nodes that initially see the entire mesh, but after a while they got isolated
    Daniel Rodríguez Rivero
    @danielo515
    My impression is that seneca-mesh is too sensible to network timeouts
    And it is very easy to get isolated
    And there is no way to re-join the mesh or re-discover the bases
    Is there any way to reduce this problem ? To increase the timeout ?
    Ohm Trivedi
    @ohmtrivedi
    Can someone give me an example/tutorial on how to run time-consuming code inside seneca actions? For example I wish to execute a shell command on Linux using exec inside one of my seneca action. But I am getting only Client Request timeout.
    Daniel Rodríguez Rivero
    @danielo515
    My approach for such scenarios is to use a callback
    You provide to the remote command a pin to "call you back" when the job is done
    then the remote process just calls the pin you have provided with the answer
    this is called async communication
    Ohm Trivedi
    @ohmtrivedi
    Hi @danielo515 , can you give me some example please?
    thijmenogerion
    @thijmenogerion
    Goodday