Re: [go-nuts] Re: Pod memory keeps on increasing and restart with error OOMKilled

2022-03-10 Thread Rakesh K R
configuration. so I am confused now On Friday, March 11, 2022 at 1:34:23 AM UTC+5:30 ren...@ix.netcom.com wrote: > Look at log.retention.hours and log.retention.bytes > > You should post this in the Kafka forums not the Go ones. > > On Mar 10, 2022, at 11:04 AM, Rakesh K R wrote: >

Re: [go-nuts] Re: Pod memory keeps on increasing and restart with error OOMKilled

2022-03-10 Thread Rakesh K R
ome other option to store on disk. > > On Mar 10, 2022, at 10:07 AM, Rakesh K R wrote: > > Tamas, > > Thanks you. So any suggestion on how to make application release this > 900MiB memory back to OS so that pod will not end up in OOMKilled state? > > On Thursday, March 1

[go-nuts] Re: Pod memory keeps on increasing and restart with error OOMKilled

2022-03-10 Thread Rakesh K R
tes > > says it uses cgo, hiding it's memory usage from Go. I bet that 900MiB of > memory is there... > > > Rakesh K R a következőt írta (2022. március 10., csütörtök, 7:26:57 UTC+1): > >> HI, >> I have a micro service application deployed on kubernetes cluster(wi

[go-nuts] Pod memory keeps on increasing and restart with error OOMKilled

2022-03-09 Thread Rakesh K R
HI, I have a micro service application deployed on kubernetes cluster(with 1gb of pod memory limit). This app receive continuous messages(500 message per second) from producer app over kafka interface(these messages are encoded in protobuf format.) *Basic application flow:* 1. Get the message o

[go-nuts] Re: in-memory caching in golang

2022-03-09 Thread Rakesh K R
.Order[1:] >> } >> } >> >> If you really need a Time To Live and want to allow memory to balloon >> uncontrolled, then MaxSize would change from an int to a time.Time, and the >> deletion condition would change from being size based to being >> tim

[go-nuts] in-memory caching in golang

2021-12-09 Thread Rakesh K R
Hi, In my application I have this necessity of looking into DBs to get the data(read intensive application) so I am planning to store these data in-memory with some ttl for expiry. Can someone suggest some in-memory caching libraries with better performance available to suit my requirement? --

[go-nuts] class is invalid in multicast dns record for srv and txt

2020-06-28 Thread Rakesh K R
Hi, I am using gopacket for parsing mDNS packet. following things are missing in the decode logic of mDNS packets: 1. cache flush field is not present in DNSResourceRecord struct 2. cache flush bit and class is combine as Class struct member. Due to point 2, Class variable will be getting invalid

Re: [go-nuts] Packet parsing in Go

2020-04-21 Thread Rakesh K R
at 11:44 PM, Jan Mercl <0xj...@gmail.com> wrote: > On Tue, Apr 21, 2020 at 6:08 PM Rakesh K R wrote: > > > In C, we used to typecast this array of uint8_t to predefined structure. > > Go has no casts. Regardless, one can do something similar using > unsafe. But then

[go-nuts] Packet parsing in Go

2020-04-21 Thread Rakesh K R
Hi, I am new to Go and I am trying to parse the network packets received. In C, we used to typecast this array of uint8_t to predefined structure. Is there a way I can do this similarly in Go? or any better approach to do this in Go? i.e. I need to parse the packet to store them to respective l2/