[erlang-questions] Lost messages

Mazen Harake mazen.harake@REDACTED
Mon Jul 27 13:21:17 CEST 2009


Hi George,

I'm curious in which situation you are considering this a problem. Can
you please elaborate?

Also, if you can, you should somehow link to the processes and clean
them up from the ETS table to avoid this problem.

Regards,

/Mazen

George Xu wrote:
> It is said that send message is safe. But I count the problem of lost 
> message.
>
> The situation is like this:
>
> 1. I use a ets table to store all process to be communicated.
> 2. But those process will terminated with some cases.
> 3. In case of one process is terminated but still not reflected to the ets 
> table, send message to this process happened sametimes. It seems the 
> message is send, but it can not reach since the process is termiated and 
> the message is lost.
>
> Anyone knows how to solve this problem?
>
> ━━━━━━━━━━━━━━━━━━━━━━━━━━
> 徐翔 George Xu
>  
> Mobile Internet Service Lab, Lonovo Corp. Research China
> Tel:86-10-58866181
> E-mail:xuxiang1@REDACTED
> No.6 Shang Di West Road, Haidian District, 
> Beijing, 100085
> P.R.China
>   



More information about the erlang-questions mailing list