Hi, please check the thread history. I'm sorry not put you on the recipient list, also please subscribe our mailing list[1] to catch the newest reply.
[1]. http://rocketmq.apache.org/about/contact/ Regards, yukon On Sat, Dec 2, 2017 at 12:23 PM, yukon <[email protected]> wrote: > Hi, > > Are you using `sh mqadmin updateTopic` command to create a new topic? > > This command will start a JVM and involve some RPCs between name server > and broker. Even so, create a new topic should be finished in few seconds. > We need more information to locate this latency issue. > > Consider you have around 3500+ topics, you can write a simple java > application use `DefaultMQAdminExtImpl#createAndUpdateTopicConfig` to > create lots of topic at once, or write a shell script to wrapp `mqadmin > updateTopic` with a for loop. The first method is faster. > > BTW, a VM is labored to handle this many active topics, unless it own a > high IOPS disk, SSD is recommended. `Active Topic` means it have pull/send > operations, inactive topic has no burden for broker. > > Regards, > yukon > > > > > On Fri, Dec 1, 2017 at 7:16 PM, jothi pandiyan <[email protected]> > wrote: > >> >> Currently, we have VM configuration is 18GB ram, 8 core CPU. >> >> We are running broker and nameserver both on the same machine. >> >> As of now, we have around 3563 topics. So, name server and broker >> consuming 13 GB from 18GB. >> >> I am facing latency issue on creating a new topic. (For new topic >> creating it taking around 13 to 15 seconds). >> >> I am looking to create a topic in just fraction of the second. >> >> Can I know a reason for this latency issue? >> >> Quick note: We looking to create millions of topic in RocketMQ. >> We also understand it needed sufficient ram/core to manages these. >> >> Is RocketMQ quite enough to handle this many topics...? >> >> Sent from Mail for Windows 10 >> >> >
