Skip to main content

Why model Packet Arrivals as a Poisson Process?

In queuing theory-based analysis, we always assume arrivals to be according to a Poisson process. "Why we do so, why not it's uniform or some other distribution?" This was a question raised by my supervisor & a colleague while I was preparing for my Qualifying Exam. As I was not able to answer well, my supervisor gave some hints. I was worried that the same question may come up during the exam so searched for an answer on web. Unfortunately, no specific answer was found. So I'm trying to lay down an answer by adding bits & pieces from here & there & my supervisor's answer.

It can be answered by looking at the properties of a Poisson Process. Recall that Poisson Processes are used to model statistically rare events.

A counting process {Nt, t ≥ 0} is a Poisson process if:
  1. N0 = 0
  2. Nt has stationary independent increments
    • Nt1 - Ns1 is independent from Nt2 - Ns2
    • Memoryless
    • Inter arrival times are independently & identically distributed set of exponentially distributed random variables
  3. P{NΔt = 1} = λ(Δt) + o(Δt)
  4. P{NΔt = 2} = o(Δt)
Property 2 (memoryless) is the key. With uniform distribution if we say, "probability of an arrival of a packet is 0.1," if a packet doesn't arrive between [0 - 9] it has to arrive at t = 10. In a natural system, such arrivals are not necessary. A packet may or may not arrive or if an Earthquake doesn't happen in Yellowstone National Park for last 9 years it doesn't necessary mean it must occur in the coming year. Hence this reflect the natural behavior & makes the analysis easier.
Property 3 & 4 says that there will only be one arrival at a time (no batch arrivals). This holds for a small time interval Δt → 0. Hence, we only need to worry about 1 arrival at a time. Even if 2 Earthquakes occur during 5 minutes, it will happen one after another. This further simplify the analysis.
Given these properties Poisson is a better & simple approximation.

Please feel free to suggest any corrections or additions....

Comments

Luis E. Duran said…
Hello, my name is Luis I just finished a master's at Brooklyn Poly in EE. I always wondered about the 3rd. property of the Poisson process, and I agree with you, it basically states that there are no simultaneous arrivals. However Im still trying to understand why this probability is lambda*delta_t. Have you figured this out?
Dilum Bandara said…
By definition:
λ = lim Δt → 0 P{N_(t + Δt) = N_t + 1}/Δt
therefore it make sense to define the 3rd property like that.
J said…
Thanks Dilum for your post. It is really helpful =)

Popular posts from this blog

1. Building P2P Simulators with OverSim - Where to Begin

This could be a series of blog posts about extending or developing your own OverSim applications & overlay networks. OverSim has a minimal tutorial on writing your own application & overlay network; however, it doesn't show the big picture. So, I'm wasting lots of time playing with code & trying to understand the rest. Good thing is, I like it more & more as I understand. You need to change/develop only a few things, but finding out which ones is a hell of a task. I hope this will not only make my life easy but also will be useful to new comers. Here's what you need to do: You need some background on OMNeT++ OverSim extend OMNeT++. But sometime it has its own way of doing things (to make your task even simple) so understand the differences . Develop several OMNeT++ simulators. TicToc is a good one to start with. Extend it as you imagine. Read Towards a Common API for Structured Peer-to-Peer Overlays , which is the basis for OvseSim's AP...

Key Application Layer Functions

Constructor  Can be use to set message to NULL . Better not to skip defining the constructor. Destructor Can be use to clear/delete messages using cancelAndDelete() . New version seems to be motivating to use a destructor so better not to skip. void initializeApp(int stage) Can be used to initialize the application, read parameters from omnet.ini file, set statistic collectors, GUI display variables, start timers, set UDP port, etc. stage - Indicate which stage your are in. MIN_STAGE_APP indicates this module is being created while MAX_STAGE_APP indicates all modules were created. We typically need MIN_STAGE_APP to i nitialize application & variables. void finishApp() Called when application is terminating. Can be used to summarize stat. New version seems to be motivating us to delete messages in the destructor.   void handleTimerEvent(cMessage* msg) Handle event timer. Use to generate new periodic messages, other events, or check for lost messages. Bett...

2. OverSim - First Application & Overlay

OverSim has many sample applications & overlays that you can look at & understand. But, it's always better to build your own ones so you would understand things better. OverSimDevelop provides the steps necessary to build your first application & overlay. My objectives it to provide few additional details that would complete the picture. Synopsis A node generates a ping messages & sends it to a randomly selected node. When the destination node gets the ping message, it replies with a pong message. As this process continuous messages are probabilistically dropped & statistics are collected. Overview MyApplication randomly selects set of overlay nodes then send a ping message to each of them using the MyOverlay. Each overlay node maintains 2 pointers, one to the successor & another to the predecessor node. Ping messages are forwarded clockwise or anticlockwise based on these 2 pointers, e.g., message from node 8 to 2 (in a network with 10 nodes) will fol...