Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 615327
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T18:12:31+00:00 2026-05-13T18:12:31+00:00

Tutorials are abound for working with gen_servers that are named in an OTP application.

  • 0

Tutorials are abound for working with gen_servers that are named in an OTP application. However, I’ve been unable to find a good example of dynamically spawning servers that are not registered (not named). Can someone point to a good, simple example? Not ejabberd, for example, where there is a lot to confuse the core idea I’m trying to get at.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T18:12:31+00:00Added an answer on May 13, 2026 at 6:12 pm

    I have some dynamic spawning of workers in a supervision tree going on in http://github.com/noss/iserve. The iserve application has a master registered process that i call iserve_master it is supervised together with a simple one for one mode supervisor.

    The iserve_master is for asking iserve to start a http server. It can have multiple iservers, as long as they bind to unique addresses. The started servers construct a name for themself though, but that is to simplify debugging, it generates an atom using the port name.

    A server is is an “eternal” loop waiting for a iserve_socket to call back about having accepted a connection. It starts the first one in init.

    The started socket is not under supervision because it is not able to restart without losing the http socket connection anyway. And I see it as a bit of a feature to not care. Fire and forget.

    Its far from perfect, but an architecture that I somewhat like.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on a project where I need to make a Flex application that
I've been looking around for some decent tutorials on .NET remoting (old style MarshallByRef),
I can find tutorials about mapping textures to polygons specifying vertices etc. but nothing
I've been creating a blog using tutorials around the web and I have a
Until lately, my application was working great with Facebook connect. When you click on
For some years that I've been using my own PHP template engine, which is
looking tutorials for integrating OpenId feature in .net
The RoR tutorials posit one model per table for the ORM to work. My
Are there any decent tutorials for setting up F# in Visual Studio 2005? Everything
which are the best tutorials, books, software and practices to start and manage a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.