Flowlogistic Case Study Company Overview Flowlogistic is a leading logistics and supply chain provider. They help businesses throughout the world manage their resources and transport them to their final destination. The company has grown rapidly, expanding their offerings to include rail, truck, aircraft, and oceanic shipping. Company Background The company started as a regional trucking company, and then expanded into other logistics market. Because they have not updated their infrastructure, managing and tracking orders and shipments has become a bottleneck. To improve operations, Flowlogistic developed proprietary technology for tracking shipments in real time at the parcel level. However, they are unable to deploy it because their technology stack, based on Apache Kafka, cannot support the processing volume. In addition, Flowlogistic wants to further analyze their orders and shipments to determine how best to deploy their resources. Solution Concept Flowlogistic wants to implement two concepts using the cloud:
• Use their proprietary technology in a real-time inventory-tracking system that indicates the location of their loads
• Perform analytics on all their orders and shipment logs, which contain both structured and unstructured data, to determine how best to deploy resources, which markets to expand info. They also want to use predictive analytics to learn earlier when a shipment will be delayed. Existing Technical Environment Flowlogistic architecture resides in a single data center:
• Databases 8 physical servers in 2 clusters - SQL Server `" user data, inventory, static data 3 physical servers - Cassandra `" metadata, tracking messages 10 Kafka servers `" tracking message aggregation and batch insert
• Application servers `" customer front end, middleware for order/customs 60 virtual machines across 20 physical servers - Tomcat `" Java services - Nginx `" static content - Batch servers
• Storage appliances - iSCSI for virtual machine (VM) hosts - Fibre Channel storage area network (FC SAN) `" SQL server storage - Network-attached storage (NAS) image storage, logs, backups
• 10 Apache Hadoop /Spark servers - Core Data Lake - Data analysis workloads
• 20 miscellaneous servers - Jenkins, monitoring, bastion hosts, Business Requirements
• Build a reliable and reproducible environment with scaled panty of production.
• Aggregate data in a centralized Data Lake for analysis
• Use historical data to perform predictive analytics on future shipments
• Accurately track every shipment worldwide using proprietary technology
• Improve business agility and speed of innovation through rapid provisioning of new resources
• Analyze and optimize architecture for performance in the cloud
• Migrate fully to the cloud if all other requirements are met Technical Requirements
• Handle both streaming and batch data
• Migrate existing Hadoop workloads
• Ensure architecture is scalable and elastic to meet the changing demands of the company.
• Use managed services whenever possible
• Encrypt data flight and at rest
• Connect a VPN between the production data center and cloud environment SEO Statement We have grown so quickly that our inability to upgrade our infrastructure is really hampering further growth and efficiency. We are efficient at moving shipments around the world, but we are inefficient at moving data around. We need to organize our information so we can more easily understand where our customers are and what they are shipping. CTO Statement IT has never been a priority for us, so as our data has grown, we have not invested enough in our technology. I have a good staff to manage IT, but they are so busy managing our infrastructure that I cannot get them to do the things that really matter, such as organizing our data, building the analytics, and figuring out how to implement the CFO' s tracking technology. CFO Statement Part of our competitive advantage is that we penalize ourselves for late shipments and deliveries. Knowing where out shipments are at all times has a direct correlation to our bottom line and profitability. Additionally, I don't want to commit capital to building out a server environment. Flowlogistic is rolling out their real-time inventory tracking system. The tracking devices will all send package-tracking messages, which will now go to a single Google Cloud Pub/Sub topic instead of the Apache Kafka cluster. A subscriber application will then process the messages for real-time reporting and store them in Google BigQuery for historical analysis. You want to ensure the package data can be analyzed over time. Which approach should you take?
Select one answer.
Marked answer: B
Community Discussion
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
Chose B6
B. Attach the timestamp and Package ID on the outbound message from each publisher device as they are sent to Cloud Pub/Sub. Here's why this approach is the most suitable: By attaching a timestamp and Package ID at the point of origin (publisher device), you ensure that each message has a clear and consistent timestamp associated with it from the moment it is generated. This provides a reliable and accurate record of when each package-tracking message was created, which is crucial for analyzing the data over time. This approach allows you to maintain the chronological order of events as they occurred at the source, which is important for real-time reporting and historical analysis. Option A suggests attaching the timestamp in the Cloud Pub/Sub subscriber application. While this can work, it introduces a potential delay and the risk of timestamps not being accurate if there are issues with message processing. Option C, using the NOW() function in BigQuery, records the time when the data is ingested into BigQuery, which may not reflect the actual time of the event.
Chose B1
Answer is B, attach the timestamp and ID is necessary to analyze data easily.
Chose B4
Answer: B
Keyboard:←→previous / next·A–Echoose·Entercheck, then next