# googlegroup

**URL:** https://discourse.nameko.io/c/googlegroup/6.md?page=1

[Latest](https://discourse.nameko.io/latest.md) · [Categories](https://discourse.nameko.io/categories.md)

**Page:** 2

---

## [Hybrid Dependency Provider / Entrypoint](https://discourse.nameko.io/t/hybrid-dependency-provider-entrypoint/255)

<div class="topic-metadata">

**Author:** [@Jonathan\_Windridge](https://discourse.nameko.io/u/Jonathan_Windridge)\
**Replies:** 3\
**Last updated:** [May 3, 2018, 8:11pm UTC](https://discourse.nameko.io/t/hybrid-dependency-provider-entrypoint/255 "2018-05-03T20:11:13Z")

</div>

Hi, I'm writing a Nameko gateway service that acts as a wrapper around a websocket connection - the service needs to be able to manipulate the websocket connection in RPC methods (e.g. to update channel subscriptions)…

---

## [Can DependencyProvider handle events?](https://discourse.nameko.io/t/can-dependencyprovider-handle-events/247)

<div class="topic-metadata">

**Author:** [@David\_Szotten](https://discourse.nameko.io/u/David_Szotten)\
**Replies:** 1\
**Last updated:** [April 28, 2018, 4:50pm UTC](https://discourse.nameko.io/t/can-dependencyprovider-handle-events/247 "2018-04-28T16:50:24Z")

</div>

i'm afraid i don't understand your question. could you please try to clarify what you would like to know? d ···On Sunday, 25 March 2018 07:47:27 UTC+1, qile...@gmail.com wrote: class AppConfig(DependencyProvider): …

---

## [Maintaining state in a dependency](https://discourse.nameko.io/t/maintaining-state-in-a-dependency/245)

<div class="topic-metadata">

**Author:** [@Raymond\_A\_Botha](https://discourse.nameko.io/u/Raymond_A_Botha)\
**Replies:** 14\
**Last updated:** [April 24, 2018, 6:05am UTC](https://discourse.nameko.io/t/maintaining-state-in-a-dependency/245 "2018-04-24T06:05:55Z")

</div>

Hi, I'm using the Google PubSub client to publish messages in a nameko service supposed to handle a few hundred requests per second, using a custom entrypoint to forward incoming messages from a websockets connection. …

---

## [Nameko web fixtures](https://discourse.nameko.io/t/nameko-web-fixtures/254)

<div class="topic-metadata">

**Author:** [@Tom\_Viner](https://discourse.nameko.io/u/Tom_Viner)\
**Replies:** 1\
**Last updated:** [April 20, 2018, 8:19am UTC](https://discourse.nameko.io/t/nameko-web-fixtures/254 "2018-04-20T08:19:55Z")

</div>

Hi, I've got a question about testing against an http endpoint on a service. We have a script that accesses our service over http. The script can take a parameter telling it the URL of the server. If we want to write…

---

## [How to propagate Exceptions in rpc nameko between two services](https://discourse.nameko.io/t/how-to-propagate-exceptions-in-rpc-nameko-between-two-services/253)

<div class="topic-metadata">

**Author:** [@Chau\_Tran\_Anh\_Minh](https://discourse.nameko.io/u/Chau_Tran_Anh_Minh)\
**Replies:** 4\
**Last updated:** [April 18, 2018, 8:06am UTC](https://discourse.nameko.io/t/how-to-propagate-exceptions-in-rpc-nameko-between-two-services/253 "2018-04-18T08:06:23Z")

</div>

Firstly, thanks very much for your effort in building nameko for microservices. Especially, nameko-examples is really a great asset to me. My project is mainly based on the example. However, I'm having some troubles i…

---

## [Entrypoints in seperate file?](https://discourse.nameko.io/t/entrypoints-in-seperate-file/252)

<div class="topic-metadata">

**Author:** [@Kirkodouglasjr](https://discourse.nameko.io/u/Kirkodouglasjr)\
**Replies:** 1\
**Last updated:** [April 18, 2018, 5:57am UTC](https://discourse.nameko.io/t/entrypoints-in-seperate-file/252 "2018-04-18T05:57:26Z")

</div>

Is there a way to create a service and have the entry points declared in separate files? My reason is i'm making a service that will have around 30 entry points to manage the data in it's database (getting, setting, u…

---

## [php nameko adapter](https://discourse.nameko.io/t/php-nameko-adapter/251)

<div class="topic-metadata">

**Author:** [@Darius](https://discourse.nameko.io/u/Darius)\
**Replies:** 3\
**Last updated:** [April 11, 2018, 12:23pm UTC](https://discourse.nameko.io/t/php-nameko-adapter/251 "2018-04-11T12:23:06Z")

</div>

hello all, we use namko for our python micro-sevices and so far, it work great. our next move will be to allow rpc call from php scripts. I am working on a proof of concept, which will probably lead to a open sourced…

---

## [Question about threading.RLock](https://discourse.nameko.io/t/question-about-threading-rlock/249)

<div class="topic-metadata">

**Author:** [@Jukowitz](https://discourse.nameko.io/u/Jukowitz)\
**Replies:** 3\
**Last updated:** [April 4, 2018, 11:34am UTC](https://discourse.nameko.io/t/question-about-threading-rlock/249 "2018-04-04T11:34:23Z")

</div>

Hi, I'm using a package that makes use of \`threading.RLock\` internally (PyFilesystem2). The lock is used to prevent multiple threads from accessing an opened filesystem, which makes sense. But I don't want it to do t…

---

## [Can't get the single container example to work](https://discourse.nameko.io/t/cant-get-the-single-container-example-to-work/250)

<div class="topic-metadata">

**Author:** [@Kirkodouglasjr](https://discourse.nameko.io/u/Kirkodouglasjr)\
**Replies:** 2\
**Last updated:** [April 3, 2018, 7:12pm UTC](https://discourse.nameko.io/t/cant-get-the-single-container-example-to-work/250 "2018-04-03T19:12:44Z")

</div>

I'm trying to make a script that will make a container and run a service for me using the code above. But when i connect to it using shell command hangs and doesn't get executed. from nameko.containers import ServiceC…

---

## [calling a nameko service from a Java client](https://discourse.nameko.io/t/calling-a-nameko-service-from-a-java-client/242)

<div class="topic-metadata">

**Author:** [@Laurent\_Bois](https://discourse.nameko.io/u/Laurent_Bois)\
**Replies:** 28\
**Last updated:** [March 22, 2018, 4:51pm UTC](https://discourse.nameko.io/t/calling-a-nameko-service-from-a-java-client/242 "2018-03-22T16:51:04Z")

</div>

I have a simple service written with Python using Nameko based on RabbitMQ and RPC. Here is the code of service.py from nameko.rpc import rpc, RpcProxy class Crawler(object): name = "crawler" @rpc def …

---

## [Python Programming Blueprints - A book with some chapters on Nameko!](https://discourse.nameko.io/t/python-programming-blueprints-a-book-with-some-chapters-on-nameko/246)

<div class="topic-metadata">

**Author:** [@Marcus\_Pennington](https://discourse.nameko.io/u/Marcus_Pennington)\
**Replies:** 2\
**Last updated:** [March 17, 2018, 2:48pm UTC](https://discourse.nameko.io/t/python-programming-blueprints-a-book-with-some-chapters-on-nameko/246 "2018-03-17T14:48:06Z")

</div>

Hi everyone! I've recently published a book \*Python Programming Blueprints \<http://url.marcuspen.com/grpppb\>.\* As part of it, I made two chapters which were based on creating a web messenger using Nameko. They cover…

---

## [Long-Running processes in ThreadPool executor](https://discourse.nameko.io/t/long-running-processes-in-threadpool-executor/244)

<div class="topic-metadata">

**Author:** [@Jukowitz](https://discourse.nameko.io/u/Jukowitz)\
**Replies:** 2\
**Last updated:** [March 10, 2018, 5:14am UTC](https://discourse.nameko.io/t/long-running-processes-in-threadpool-executor/244 "2018-03-10T05:14:48Z")

</div>

I hope someone can help me.... So I have a process that marshals several co-routines via a concurrent.futures.ThreadPoolExecutor. This works beautifully for quick processes.... but not all of my processes are quick..…

---

## [custom serializer](https://discourse.nameko.io/t/custom-serializer/241)

<div class="topic-metadata">

**Author:** [@rejo](https://discourse.nameko.io/u/rejo)\
**Replies:** 1\
**Last updated:** [March 2, 2018, 5:07am UTC](https://discourse.nameko.io/t/custom-serializer/241 "2018-03-02T05:07:20Z")

</div>

Hi, I'm new to nameko and making some tests. I now want to setup a custom serializer so I read different posts on the subject and tried to register my serializer to kombu with register('my\_json', to\_json, from\_json, …

---

## [Calling an RPC service within a dependency](https://discourse.nameko.io/t/calling-an-rpc-service-within-a-dependency/231)

<div class="topic-metadata">

**Author:** [@Chris\_Platts](https://discourse.nameko.io/u/Chris_Platts)\
**Replies:** 10\
**Last updated:** [February 25, 2018, 7:41am UTC](https://discourse.nameko.io/t/calling-an-rpc-service-within-a-dependency/231 "2018-02-25T07:41:32Z")

</div>

Hi, I have a LogService which receives log and exception info via RPC in the Graylog GELF format and then posts it to Graylog via AMQP. Now, I'm trying to write a dependency for my other services. The idea is that t…

---

## [Service talking to blocking process via stdin/out](https://discourse.nameko.io/t/service-talking-to-blocking-process-via-stdin-out/240)

<div class="topic-metadata">

**Author:** [@Chris\_Platts](https://discourse.nameko.io/u/Chris_Platts)\
**Replies:** 4\
**Last updated:** [February 22, 2018, 8:10pm UTC](https://discourse.nameko.io/t/service-talking-to-blocking-process-via-stdin-out/240 "2018-02-22T20:10:39Z")

</div>

Here's an interesting one... One of my services will need to talk to a process which it launches. It sends commands via stdin and reads data back via stdout. In the current implementation, it simply blocks reading li…

---

## [Issues with Eventlet 0.21 and ftplib in Python3](https://discourse.nameko.io/t/issues-with-eventlet-0-21-and-ftplib-in-python3/239)

<div class="topic-metadata">

**Author:** [@Jukowitz](https://discourse.nameko.io/u/Jukowitz)\
**Replies:** 3\
**Last updated:** [February 20, 2018, 8:22pm UTC](https://discourse.nameko.io/t/issues-with-eventlet-0-21-and-ftplib-in-python3/239 "2018-02-20T20:22:50Z")

</div>

Hi, There is an issue with Eventlet 0.21 and ftplib in Python 3. The issue is fixed in Eventlet 0.22. Specifically, the issue with with contextmanager support in \`socket\` as used by \`storbinary\`. Nameko is pinned to…

---

## [RabbitMQ Under Load](https://discourse.nameko.io/t/rabbitmq-under-load/235)

<div class="topic-metadata">

**Author:** [@simon\_harrison](https://discourse.nameko.io/u/simon_harrison)\
**Replies:** 6\
**Last updated:** [February 15, 2018, 3:10pm UTC](https://discourse.nameko.io/t/rabbitmq-under-load/235 "2018-02-15T15:10:09Z")

</div>

Hi there We're continuing to have trouble with our RabbitMQ setup. Under load things break down quickly. And i use the term "load" very generously here! Sentry is flooded with alerts such as: OS Error Socket Closed, C…

---

## [Customising presentation of RPC reply to service](https://discourse.nameko.io/t/customising-presentation-of-rpc-reply-to-service/237)

<div class="topic-metadata">

**Author:** [@Chris\_Platts](https://discourse.nameko.io/u/Chris_Platts)\
**Replies:** 2\
**Last updated:** [February 13, 2018, 1:38pm UTC](https://discourse.nameko.io/t/customising-presentation-of-rpc-reply-to-service/237 "2018-02-13T13:38:57Z")

</div>

Hi, I'm trying to make my service code as minimal as possible. One thing I've noticed is that my handling of RpcProxy call replies is a bit repetitive. So, I have a service which uses an RpcProxy to call another. Th…

---

## [Orchestrating a set of services](https://discourse.nameko.io/t/orchestrating-a-set-of-services/236)

<div class="topic-metadata">

**Author:** [@Chris\_Platts](https://discourse.nameko.io/u/Chris_Platts)\
**Replies:** 2\
**Last updated:** [February 13, 2018, 1:35pm UTC](https://discourse.nameko.io/t/orchestrating-a-set-of-services/236 "2018-02-13T13:35:52Z")

</div>

Hi all, Having attained the status of 'reasonably competent, unlikely to blow things up' with nameko, I'm thinking about how to reimplement some of my company's systems in a nice microservice-y way. We have a bunch o…

---

## [Dependency on a Nameko Service / Registration with another Service on Startup](https://discourse.nameko.io/t/dependency-on-a-nameko-service-registration-with-another-service-on-startup/234)

<div class="topic-metadata">

**Author:** [@Brooke\_Lynne\_Weaver](https://discourse.nameko.io/u/Brooke_Lynne_Weaver)\
**Replies:** 3\
**Last updated:** [January 24, 2018, 8:35pm UTC](https://discourse.nameko.io/t/dependency-on-a-nameko-service-registration-with-another-service-on-startup/234 "2018-01-24T20:35:32Z")

</div>

Hello, We have a service whose purpose is to sort of oversee and monitor other services. It keeps track of updates and information from other services. We want each service in our system to register with this monitor …

---

## [Running kafka message queue.](https://discourse.nameko.io/t/running-kafka-message-queue/233)

<div class="topic-metadata">

**Author:** [@Jackytu256](https://discourse.nameko.io/u/Jackytu256)\
**Replies:** 1\
**Last updated:** [January 19, 2018, 12:14pm UTC](https://discourse.nameko.io/t/running-kafka-message-queue/233 "2018-01-19T12:14:51Z")

</div>

Hi Matt, Is there anyway to utilize kafka as a message queue broker ? Thanks Jacky

---

## [Running services](https://discourse.nameko.io/t/running-services/232)

<div class="topic-metadata">

**Author:** [@Joao\_Biondo](https://discourse.nameko.io/u/Joao_Biondo)\
**Replies:** 5\
**Last updated:** [January 17, 2018, 11:25am UTC](https://discourse.nameko.io/t/running-services/232 "2018-01-17T11:25:15Z")

</div>

Is there any way to list all running services (rpc)?

---

## [Running Nameko Services on Kubernetes](https://discourse.nameko.io/t/running-nameko-services-on-kubernetes/230)

<div class="topic-metadata">

**Author:** [@Jakub\_Borys](https://discourse.nameko.io/u/Jakub_Borys)\
**Replies:** 0\
**Last updated:** [January 12, 2018, 11:36am UTC](https://discourse.nameko.io/t/running-nameko-services-on-kubernetes/230 "2018-01-12T11:36:19Z")

</div>

Hi, Just wanted to share my new "Running Nameko Services on Kubernetes" article: https://medium.com/@JakubBorys/run-nameko-services-on-kubernetes-c4db3a863f05 Any feedback would be really appreciated. Cheers, Jakub

---

## [many instances(node) of one service](https://discourse.nameko.io/t/many-instances-node-of-one-service/229)

<div class="topic-metadata">

**Author:** [@Jackytu256](https://discourse.nameko.io/u/Jackytu256)\
**Replies:** 0\
**Last updated:** [January 12, 2018, 7:10am UTC](https://discourse.nameko.io/t/many-instances-node-of-one-service/229 "2018-01-12T07:10:23Z")

</div>

Hi All, I am looking for a way of how to scale of each service (increase the number of nodes). Cloud someone tell me how to do it ? Thanks BR Jacky

---

## [Load Balancing Multiple Processes of nameko HTTP Services](https://discourse.nameko.io/t/load-balancing-multiple-processes-of-nameko-http-services/227)

<div class="topic-metadata">

**Author:** [@simon\_harrison](https://discourse.nameko.io/u/simon_harrison)\
**Replies:** 2\
**Last updated:** [January 8, 2018, 5:28pm UTC](https://discourse.nameko.io/t/load-balancing-multiple-processes-of-nameko-http-services/227 "2018-01-08T17:28:09Z")

</div>

Hi there We've some services that we need to scale horizontally and they use the HTTP entrypoints. Is there any advice how to run such nameko services in production behind Nginx? Thanks

---

## [Dynamic dependency Injection from @event\_handler method](https://discourse.nameko.io/t/dynamic-dependency-injection-from-event-handler-method/228)

<div class="topic-metadata">

**Author:** [@Yevgeniy\_Viller](https://discourse.nameko.io/u/Yevgeniy_Viller)\
**Replies:** 2\
**Last updated:** [January 2, 2018, 5:09pm UTC](https://discourse.nameko.io/t/dynamic-dependency-injection-from-event-handler-method/228 "2018-01-02T17:09:01Z")

</div>

Hey guys, We are trying to implement data pipeline, where services communicate with each other using nameko. One of the services query config service and passes the config object using dispatch() method. Other metho…

---

## [Recommendations for keeping state between @timer calls](https://discourse.nameko.io/t/recommendations-for-keeping-state-between-timer-calls/224)

<div class="topic-metadata">

**Author:** [@P11](https://discourse.nameko.io/u/P11)\
**Replies:** 3\
**Last updated:** [December 13, 2017, 1:31pm UTC](https://discourse.nameko.io/t/recommendations-for-keeping-state-between-timer-calls/224 "2017-12-13T13:31:53Z")

</div>

Hello! First of all, thank you for developing nameko; really liking it so far. I'm quite new to the microservice architecture however and I'd like to ask for your recommendations on how to approach the following two pr…

---

## [Handling remote errors](https://discourse.nameko.io/t/handling-remote-errors/223)

<div class="topic-metadata">

**Author:** [@Kirkdouglasjr\_Unireg](https://discourse.nameko.io/u/Kirkdouglasjr_Unireg)\
**Replies:** 1\
**Last updated:** [December 4, 2017, 1:35am UTC](https://discourse.nameko.io/t/handling-remote-errors/223 "2017-12-04T01:35:30Z")

</div>

Whats the recommended way to handle RemoteError? Say i'm using RpcProxy and it raised an exception like \`NoResultsFound\`. Really all i can do is catch the remote error, but what if i want to what is the exact executio…

---

## [Question: passing attributes from service to dependencies](https://discourse.nameko.io/t/question-passing-attributes-from-service-to-dependencies/221)

<div class="topic-metadata">

**Author:** [@Kirkdouglasjr\_Unireg](https://discourse.nameko.io/u/Kirkdouglasjr_Unireg)\
**Replies:** 2\
**Last updated:** [November 20, 2017, 3:28pm UTC](https://discourse.nameko.io/t/question-passing-attributes-from-service-to-dependencies/221 "2017-11-20T15:28:34Z")

</div>

I have a service that has a session as an attribute, i want to be able to pass that into a dependency. only problem is i can't see any way to get data from the service class in the dependency provider. Any help please…

---

## [Getting value of \`event\_type\` inside wrapped method](https://discourse.nameko.io/t/getting-value-of-event-type-inside-wrapped-method/220)

<div class="topic-metadata">

**Author:** [@Jukowitz](https://discourse.nameko.io/u/Jukowitz)\
**Replies:** 3\
**Last updated:** [November 17, 2017, 8:29pm UTC](https://discourse.nameko.io/t/getting-value-of-event-type-inside-wrapped-method/220 "2017-11-17T20:29:12Z")

</div>

Hello again! I've switched to events for many things now, and it's great! I'm using an RPC call to collect results, and store them. Which is also great. When I create an event handler, I give it a name that makes sen…

[Previous page](https://discourse.nameko.io/c/googlegroup/6.md)

[Next page](https://discourse.nameko.io/c/googlegroup/6.md?page=2)
