devexperts / qd Goto Github PK
View Code? Open in Web Editor NEWQuote Distribution Subsystem
License: Mozilla Public License 2.0
Quote Distribution Subsystem
License: Mozilla Public License 2.0
When trying to build the project from scratch, it looks like the dxfeed.jfrog.io
does not contain jmxtools
.
Even when I set versions to 1.2 and 1.2.1 that are immediately available in public maven repos (public maven repository - https://mvnrepository.com/artifact/com.sun.jdmk/jmxtools/1.2.1), no luck.
Build also couldn't locate the specific version 1.2_8 or 1.2.8 as found in links, respectively:
In order to log sanitisation, we need to modify log messages. For instance, replace '\n' symbol to '\n'.
I'd like to delegate this work to dxLib DetailedLogLayout and LogFormatter classes.
LogFormatter.format
public method uses LogFormatter.STRING_FORMAT_CONSUMER lambda for log msg encoding but I don't see any conventional way to override this field initialisation.
So to achieve my goal, I need to
com.devexperts.logging
package.This seems too difficult for such a general needs.
Could you pls provide more friendly API for custom encoding.
Hi team.
Class com.devexperts.qd.impl.matrix.Collector has method getCountersSinceStart
that returns CollectorCounters. These counters are very useful and help understand QDS usage.
But working with striped collector, receiving these counters becomes not a trivial task and requires creation utility class in com.devexperts.qd.impl.stripe
package.
I wonder if QDS library can provide some public monitoring API covering this functionality and supporting both regular and striped collectors.
PS: QDS internal com.devexperts.qd.monitoring.MonitoredQDEndpoint also does not support striped collectors. Method logCollectorCounters checks collector instanceof Collector
class. StripedCollector fails this check.
private void logCollectorCounters() {
for (QDContract contract : QDContract.values()) {
QDCollector collector = getCollector(contract);
if (!(collector instanceof Collector))
continue;
... // print CollectorCounters
}
}
Hi team.
In our application we have several StripedCollectors and we'd like to aggregate their monitoring info in a single QDStats instance.
Noticed the following issues (see attached debug screenshots):
A frequent pattern of using com.devexperts.logging.Logging#debug(java.lang.String)
is (example from dxfeed-api/src/main/java/com/dxfeed/ipf/live/InstrumentProfileCollector.java
):
if (log.debugEnabled())
log.debug("Removing " + debugString(entry.ip));
โ this is supposedly done to avoid resource-intensive computation of message, which is justified, but can be considered boilerplate.
Raw log4j2 addresses this by providing lambda-accepting methods such as org.apache.logging.log4j.Logger#debug(org.apache.logging.log4j.util.Supplier<?>)
. It would be nice if com.devexperts.logging.Logging
supported this as well.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.